<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
	<script src="./js/jquery-1.12.4.js"></script>
	<script type="text/javascript">
	// 等页面准备好
		$(document).ready(function(){
// 首先 $("p") 获取要操作的元素的包装过的jq对象

// click调用jq对象的方法做相应的处理

		  $("p").click(function(){
		  	$(this).hide();
		  });
		});
		</script>
</head>
<body>
	<p>If you click on me, I will disappear.</p>
</body>
</html>